In [7]:
while True:
numOne = int(input())#I created numOne varibale.
numTwo = int(input())# I created numTwo varibale.
numThree = int(input())# I created numThree variable.
if numOne >= numTwo and numTwo >= numThree:
print("{} {} {}-In Order".format(numOne, numTwo, numThree))#The format prints out numOne, numTwo and numThree.NumOne is greater than numTwo and numTwo is greater than numThree.
elif numOne <= numTwo and numTwo <= numThree:
print("{} {} {}-In Order".format(numOne, numTwo, numThree))#NumOne is less than numTwo, then numTwo is less than numThree. The format print each of the number you ask it to.
else:
print("{} {} {}- Not In Order".format(numOne, numTwo, numThree))
#if numOne < numTwo > numThree:
# print("{} {} {}-In Order".format(numOne, numTwo, numThree))# IF numOne is less than numTwo, then it is going to be greater than numThree. The format will print the statement you pit above the line.
#if numOne > numTwo < numThree:
# print("{} {} {}-In Order".format(numOne, numTwo, numThree))# Their are three intergers numOne, numTwo and numThree. Numonw is greater than numTwo and less than numThree.
runAgain = input("run Again <enter> or N")#runAgain it will make the program run how many times you ask it to.
if runAgain == "N" or runAgain == "n": # It can either be a captial N or a lowercase n.
print("Bye")#IT will stop the program.
break# It ends the program.
5 7 9 5 7 9-In Order run Again <enter> or Ny 9 7 -25 9 7 -25-In Order run Again <enter> or Ny 5 8 2 5 8 2- Not In Order run Again <enter> or Nn Bye
In [ ]:
In [ ]: